/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.ppm.sim.impl.mas.agents;

import bgu.ppm.sim.api.mas.Message;

/**
 *
 * @author User
 */
public class SimpleMessage implements Message {

    private String name;
    private Object[] arguments;
    private int sender;

    public SimpleMessage(String name, Object[] arguments, int sender) {
        this.name = name;
        this.arguments = arguments;
        this.sender = sender;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Object[] getArguments() {
        return arguments;
    }

    @Override
    public int getSender() {
        return sender;
    }
}
